<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" type="text/css" href="__CSS__/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__CSS__/static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>信息列表</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 用户租房信息管理 <span class="c-gray en">&gt;</span> 查询 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>

<div class="page-container">
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>
            <a class="btn btn-primary radius" href="{:url('userzf/add')}"><i class="Hui-iconfont">&#xe600;</i> 添加信息</a></span>

        <!-------------------------------------------------------------------------------------------------->

            <form action="index/classes/list" method="GET">&nbsp;&nbsp;&nbsp;&nbsp; 
            房屋: <select name="cid">
            <option value="">--请选择--</option>
                <option value="1">新东方华庭</option>
                <option value="2">建华大厦</option>
                <option value="3">滨海小区</option>
                 </select>
                &nbsp;&nbsp;
           用户名: <input type="text" name="name">&nbsp;&nbsp;
		   真实姓名: <input type="text" name="name">&nbsp;&nbsp;
		   状态: <select name="cid">
            <option value="">--请选择--</option>
                <option value="1">再租</option>
                <option value="2">未出租</option>
                 </select>
                &nbsp;&nbsp;
			管理员: <select name="cid">
            <option value="">--请选择--</option>
                <option value="1">王辉</option>
                <option value="2">王辉</option>
                 </select>
                &nbsp;&nbsp;
            <input type="submit" value="搜索" class="submit">

        </span>
        <span class="r">共有数据：<strong>你自己查</strong></span>
    </div>
    <div class="mt-20">
        <table class="table table-border table-bordered table-bg table-hover table-sort">
            <thead>
            <tr class="text-c">
                <th width="40"><input name="" type="checkbox" value=""></th>
                <th width="60">编号</th>
                <th width="60">房屋编号</th>
                <th width="60">楼栋</th>
				<th width="60">用户</th>
                <th width="60">真实姓名</th>
				<th width="60">支付类型</th>
				<th width="60">开始日期</th>
				<th width="60">结束日期</th>
				<th width="60">状态</th>
				<th width="60">管理员</th>
				<th width="150">操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach $list as $cla}
            <tr class="text-c">
                <td><input name="" type="checkbox" value=""></td>
                <td scope="row">{$cla.id}</td>
                <td>{$cla.room}</td>
                <td>{$cla.build}</td>
                <td>{$cla.user}</td> 
				<td>{$cla.name}</td>
				<td>{$cla.type}</td>
				<td>{$cla.date}</td> 
				<td>{$cla.j_date}</td>
                <td>{$cla.state}</td> 
				<td>{$cla.user_id}</td> 				
				<td><a onclick=" tishi()" class="btn btn-danger radius" href="{:url('userzf/delete',['id' =>$cla.id])}">
                   <i class="Hui-iconfont">&#xe6e2;</i> 
                    删除</a>&nbsp
                    <a class="btn btn-primary radius" href="{:url('userzf/update',['id' =>$cla.id])}">
                      <i class="Hui-iconfont">&#xe600;</i> 
                        修改</a>&nbsp
                </td>
            </tr>
            {/foreach}
           <tr>
                <td colspan="8" class="suojin">{$list|raw}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<style>
    input[type=submit]{
        width: 60px;
        height: 30px;
        color:#6dbfff;
        background-color: red;
    }
    .pagination li {float:left ;width:20px;list-style:none;}
    .suojin {margin-left: 100px;}
</style>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__js__/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="__js__/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__js__/static/h-ui/js/H-ui.min.js"></script> 
<script type="text/javascript" src="__js__/static/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__js__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript" src="__js__/lib/datatables/1.10.0/jquery.dataTables.min.js"></script> 
<script type="text/javascript" src="__js__/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
<script>
    function tishi() {
        //alert("确定删除此信息吗？？");
        if(window.confirm('确定删除此信息吗？')){
            //alert("确定");
            return true;
        }else{
            //alert("取消");
            return false;
        }

    }
</script>
</body>
</html>
